<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="Access-Control-Allow-Origin" content="*">
  <link rel="icon" href="../../favicon.ico">
  <link rel="stylesheet" href="../style/main.css">
  <title>webscoket 在线聊天室</title>

  <script src="https://cdn.bootcss.com/es6-promise/4.1.1/es6-promise.auto.min.js"></script>
</head>

<body>
  <div id="app" class="flex-center">
    <form class="login-form" onsubmit="return false;">
      <h1 class="login-form-title">登录</h1>
      <div class="form-item flex">
        <img class="icon" src="../image/icon-user.png">
        <input type="text" id="username" autocomplete="off" />
      </div>
      <div class="form-item flex">
        <img class="icon" src="../image/icon-password.png">
        <input type="password" id="password" />
      </div>
      <div class="form-item flex-center">
        <input type="checkbox" id="remember" class="checkbox" />
        <label class="label" for="remember">记住密码</label>
      </div>
      <button class="login-button full-width" onclick="login()">登录</button>
    </form>
  </div>
  </div>
</body>
<script src="../js/main.js"></script>

</html>